//
//  YTDanLi.h
//  单例
//
//  Created by qianfeng on 15/8/4.
//  Copyright (c) 2015年 qianfeng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YTDanLi : NSObject{
    int _a;
    float _b;
}
-(void)setA:(int)a;
-(void)setB:(float)b;

-(int)getA;
-(float)getB;

//创建一个单例需要使用share开头
+(YTDanLi *)shareYTDanli;

@end
